import 'package:json_annotation/json_annotation.dart';

part 'UserOrderItem.g.dart';

@JsonSerializable()
class UserOrderItem {
  UserOrderItem();

  String? id;
  String? userId;
  String? orderId;
  String? orderCode;
  String? commoditySkuId;
  String? commoditySkuName;
  String? commoditySkuImage;
  double? commoditySkuPrice;
  int? commoditySkuNum;
  double? commoditySkuTotalPrice;
  String? creationDate;
  String? modificationDate;
  String? commodityId;
  String? commodityName;
  
  factory UserOrderItem.fromJson(Map<String,dynamic> json) => _$UserOrderItemFromJson(json);
  Map<String, dynamic> toJson() => _$UserOrderItemToJson(this);
}
